package com.iraeta.entity.main;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Objects;

/**
 * erpgq_currentstock
 * @author 
 */
public class ErpgqCurrentstock implements Serializable {
    private String cinvcode;

    private String cinvname;

    private Long autoid;

    private BigDecimal iquantity;

    private BigDecimal fstopquantity;

    private static final long serialVersionUID = 1L;

    public String getCinvcode() {
        return cinvcode;
    }

    public void setCinvcode(String cinvcode) {
        this.cinvcode = cinvcode;
    }

    public String getCinvname() {
        return cinvname;
    }

    public void setCinvname(String cinvname) {
        this.cinvname = cinvname;
    }

    public Long getAutoid() {
        return autoid;
    }

    public void setAutoid(Long autoid) {
        this.autoid = autoid;
    }

    public BigDecimal getIquantity() {
        return iquantity;
    }

    public void setIquantity(BigDecimal iquantity) {
        this.iquantity = iquantity;
    }

    public BigDecimal getFstopquantity() {
        return fstopquantity;
    }

    public void setFstopquantity(BigDecimal fstopquantity) {
        this.fstopquantity = fstopquantity;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof ErpgqCurrentstock)) return false;
        ErpgqCurrentstock that = (ErpgqCurrentstock) o;
        return cinvcode.equals(that.cinvcode) && cinvname.equals(that.cinvname) && Objects.equals(autoid, that.autoid) && Objects.equals(iquantity, that.iquantity) && Objects.equals(fstopquantity, that.fstopquantity);
    }

    @Override
    public int hashCode() {
        return Objects.hash(cinvcode, cinvname, autoid, iquantity, fstopquantity);
    }
}